package com.firmboy.compo.base;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * 跳转到html页面
 *
 * @author firmboy
 * @create 2018-02-08 下午4:01
 **/
@Controller
@RequestMapping("/html")
public class ToHtmlController {

    @RequestMapping("/index")
    public String index(){
        return "index/index";
    }

    @RequestMapping("/login")
    public String login(){
        return "login/login";
    }

    @RequestMapping("/demo")
    public String demo(){
        return "demo";
    }
}
